// 存储过滤相关数据的仓库
import { defineStore } from 'pinia'

const useFiltersStore = defineStore('filters', {
  state() {
    return {
      filterList: ['All', 'Active', 'Completed'],
      active: 'All',
    }
  },
  actions: {
    changeActive(str) {
      this.active = str
    },
  },
  getters: {},
})

export default useFiltersStore
